module StringMy;
  def camelize
    string = "";
    up = false;
    self.split("").each_with_index do |char, i|
      if char == "-"; up = true;
      elsif !up; string << char
      else; 
        string << char.upcase
        up = false;
      end
    end
    string
	end
end

class String
    include StringMy;
end
string = "ola-tudo-bem-com-voce".camelize;
puts string;